<div class="ui orange pointing menu">
    <?php
        if (empty($_SESSION['user_info']['cinema_id'])) {
            ?>
            <a class="active item" href="<?php echo LINK_ROOT . DIR_ADMIN . "index.php" ?>">
                <i class="home icon"></i>Home
            </a>

            <a class="item" href="<?php echo LINK_ROOT . DIR_ADMIN . "movies.php" ?>">
                <i class="video icon"></i> Movies
            </a>

            <a class="item" href="<?php echo LINK_ROOT . DIR_ADMIN . "cinemas.php" ?>">
                <i class="block layout icon"></i> Cinemas
            </a>

            <a class="item" href="<?php echo LINK_ROOT . DIR_ADMIN . "users.php" ?>">
                <i class="users icon"></i> Users
            </a>

            <a class="item" href="<?php echo LINK_ROOT . DIR_ADMIN . "tickets.php" ?>">
                <i class="ticket icon"></i> Tickets
            </a>

            <a class="item" href="<?php echo LINK_ROOT . DIR_ADMIN . "booking.php" ?>">
                <i class="flag icon"></i> Booking
            </a>

            <a class="item" href="<?php echo LINK_ROOT . DIR_ADMIN . "combos.php" ?>">
                <i class="food icon"></i> Combo
            </a>

            <a class="item" href="<?php echo LINK_ROOT . DIR_ADMIN . "coupons.php" ?>">
                <i class="gift icon"></i> Coupon
            </a>

            <a class="item" href="<?php echo LINK_ROOT . DIR_ADMIN . "configuration.php" ?>">
                <i class="settings icon"></i> Configuration
            </a>

        <?php
        } else {
            ?>
            <a class="item" href="<?php echo LINK_ROOT . DIR_ADMIN . "user_cinema.php" ?>">
                Admin Cinema
            </a>
        <?php
        }
    ?>
    <?php
        if (!empty($_SESSION['user_login']) && $_SESSION['user_login'] === "logined") {
            ?>
            <div class="right menu">
                <div class="ui dropdown item">
                    Hi, <?php echo $_SESSION['user_info']['email'] ?><i class="dropdown icon"></i>

                    <div class="menu">
                        <a class="item" href="<?php echo LINK_ROOT; ?>/logout.php">Logout</a>
                    </div>
                </div>
            </div>
        <?php
        } else {
            ?>

        <?php
        }?>
</div>